package com.base.cn.platform.os.service.manage.user.exprule;

import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.manage.BaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 *  经验帐号接口
 *
 * @author ll
 * @create 2018-04-09-19:05
 */
@FeignClient(value = BaseService.appName,configuration = FeignAuthConfig.class)
public interface CusExpRecordService extends BaseService {

    /**
     * 搜索经验记录列表
     * @param currentPage
     * @param cusUserExpRecord
     * @return
     */
    @RequestMapping(contextPath + "/user/queryCusUserExpRecordPage")
    Map<String,Object> queryCusUserExpRecordPage(@RequestParam(value = "currentPage", required = false, defaultValue = "1") int currentPage,
                                                 @RequestBody Map<String, Object> cusUserExpRecord,
                                                 @RequestParam(value = "expRule", required = false, defaultValue = "false") boolean expRule);





}
